package com.dhnsoft.shortLink.project.common.constant;

/**
 * ClassName: RedisKeyConstant
 * Package: com.dhnsoft.shortLink.project.common.constant
 * Description: Redis key 常量类
 *
 * @Author dhn
 * @Create 2024/3/27 17:02
 * @Version 1.0
 */
public class RedisKeyConstant {

    /**
     * 短链接跳转前缀key
     * */
    public static final String GOTO_SHORT_LINK_KEY = "short-link_goto_%s";


    /**
     * 短链接空值跳转
     * */
    public static final String GOTO_IS_NULL_SHORT_LINK_KEY = "short-link_is-null_goto_%s";

    /**
     * 短链接跳转锁前缀 key
     * */
    public static final String LOCK_GOTO_SHORT_LINK_KEY = "short-link_lock_goto_%s";
}
